import logging
def log_set():
    logging.basicConfig(filename='zxr.log',filemode='w+',level=logging.INFO,format='%(levelname)s-%(filename)s-%(asctime)s-%(message)s')